package com.example.shardingsphere.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author Sunny
 * @since 2021-01-23
 */
@Data
@TableName("t_order_goods")
public class OrderGoods implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 时间类型 HISTORY：历史订单，TODAY：当前订单 */
    private Integer timeType;

    private String orderNo;

    private String name;

    private BigDecimal price;


}
